<?php

namespace teamug;

class Request {
  
  protected $session;
  protected $getData;
  protected $postData;
  protected $cookie;
  
  public function __construct() {

    $this->session = new Session;
    $this->getData = new RequestData(RequestData::GET);
    $this->postData = new RequestData(RequestData::POST);
    $this->cookie = new RequestData(RequestData::COOKIE);
  }

  
  public function __get($name) {
    return $this->$name;    
  }
  
}




